// Vuex的用户模块
const userModule = {
  namespaced: true,
  actions: {},
  mutations: {},
  state: {
    // 登录用户
    userName: '',
  },
  getters: {
    //  用户名
    userName(state) {
      return state.userName
    },
  },
}
export default userModule